PrestoPlayer\Support\Block C

Total Complexity 101
Dependencies 9
Dependents 1
Total lines 741
Lines of code 359
Logical lines of code 184
Comment lines 218
Methods 25
Properties 6

Methods 25

Method Rating Maintainability Complexity Lines of code
html()
B
39 16 62
_sanitizeAttibutes()
B
39 16 60
getFeedHtml()
A
50 10 29
getPlayerStyles()
A
46 9 36
getSchema()
A
49 8 29
getBranding()
S
63 6 9
initComponentScript()
S
56 4 19
getPlayerClasses()
S
57 4 16
getPreset()
S
59 4 14
getAudioPreset()
S
65 3 8
getClasses()
S
73 3 4
outputVideoSchemaMarkup()
S
65 2 12
getFallbackHTMLForUnauthorizeAccess()
S
64 2 10
iframeFallback()
S
72 2 5
isHls()
S
73 2 4
__construct()
S
79 1 3
getAttributes()
S
80 1 3
register()
S
82 1 3
getCSS()
S
67 1 9
overrideAttributes()
S
79 1 3
sanitizeAttributes()
S
82 1 3
middleware()
S
82 1 3
registerBlockType()
S
66 1 9
additionalAttributes()
S
82 1 3
applyAttributeDefaults()
S
79 1 3